home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / prim / sound.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 32 32 3a 32 | 36 20 31 39 39 35 0a 3b | 14:22:2|6 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 70 72 | 69 6d 2f 73 6f 75 6e 64 |/lisp/pr|im/sound|
|00000090| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|000000a0| 72 73 69 6f 6e 20 31 39 | 2e 31 33 20 58 45 6d 61 |rsion 19|.13 XEma|
|000000b0| 63 73 20 4c 75 63 69 64 | 2e 0a 3b 3b 3b 20 62 79 |cs Lucid|..;;; by|
|000000c0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 32 |tecomp v|ersion 2|
|000000d0| 2e 32 35 3b 20 31 2d 53 | 65 70 2d 39 34 2e 0a 3b |.25; 1-S|ep-94..;|
|000000e0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000f0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|00000100| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000110| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000120| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 38 |xist in |Emacs 18|
|00000130| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000140| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000150| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000160| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|00000170| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|00000180| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|00000190| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|000001a0| 73 2d 76 65 72 73 69 6f | 6e 20 22 31 39 22 29 29 |s-versio|n "19"))|
|000001b0| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 54 68 |). (e|rror "Th|
|000001c0| 69 73 20 66 69 6c 65 20 | 77 61 73 20 63 6f 6d 70 |is file |was comp|
|000001d0| 69 6c 65 64 20 66 6f 72 | 20 45 6d 61 63 73 20 31 |iled for| Emacs 1|
|000001e0| 39 2e 22 29 29 0a 0a 28 | 62 79 74 65 2d 63 6f 64 |9."))..(|byte-cod|
|000001f0| 65 20 22 08 ac 82 c1 10 | c2 87 22 20 5b 73 6f 75 |e ".....|.." [sou|
|00000200| 6e 64 2d 61 6c 69 73 74 | 20 28 28 72 65 61 64 79 |nd-alist| ((ready|
|00000210| 20 6e 69 6c 29 20 28 77 | 61 72 70 20 6e 69 6c 29 | nil) (w|arp nil)|
|00000220| 29 20 6e 69 6c 5d 20 31 | 29 0a 28 66 73 65 74 20 |) nil] 1|).(fset |
|00000230| 27 6c 6f 61 64 2d 73 6f | 75 6e 64 2d 66 69 6c 65 |'load-so|und-file|
|00000240| 20 23 5b 28 66 69 6c 65 | 6e 61 6d 65 20 73 6f 75 | #[(file|name sou|
|00000250| 6e 64 2d 6e 61 6d 65 20 | 26 6f 70 74 69 6f 6e 61 |nd-name |&optiona|
|00000260| 6c 20 76 6f 6c 75 6d 65 | 29 20 22 08 39 ac 84 c1 |l volume|) ".9...|
|00000270| c2 21 88 0b ab 88 0b a8 | ac 84 c1 c4 21 88 c5 89 |.!......|....!...|
|00000280| 1e 06 1e 07 c8 8e 8a c9 | ca 21 89 16 07 71 88 cb |........|.!...q..|
|00000290| 70 21 88 cc 20 88 cd 0e | 0e 21 88 cf 20 16 06 cc |p!.. ...|.!.. ...|
|000002a0| 20 88 2a 08 0e 10 9e 89 | 1e 11 ab 8a d2 0e 11 d3 | .*.....|........|
|000002b0| 0e 10 21 5c 22 16 10 29 | d4 08 43 0b ad 89 0b d5 |..!\"..)|..C.....|
|000002c0| 3d 3f ad 83 d6 0b 44 a4 | d7 0e 06 44 a4 21 0e 10 |=?....D.|...D.!..|
|000002d0| 42 16 10 2a 08 87 22 20 | 5b 73 6f 75 6e 64 2d 6e |B..*.." |[sound-n|
|000002e0| 61 6d 65 20 65 72 72 6f | 72 20 22 73 6f 75 6e 64 |ame erro|r "sound|
|000002f0| 2d 6e 61 6d 65 20 6e 6f | 74 20 61 20 73 79 6d 62 |-name no|t a symb|
|00000300| 6f 6c 22 20 76 6f 6c 75 | 6d 65 20 22 76 6f 6c 75 |ol" volu|me "volu|
|00000310| 6d 65 20 6e 6f 74 20 61 | 6e 20 69 6e 74 65 67 65 |me not a|n intege|
|00000320| 72 20 6f 72 20 6e 69 6c | 22 20 6e 69 6c 20 64 61 |r or nil|" nil da|
|00000330| 74 61 20 62 75 66 20 28 | 28 62 79 74 65 2d 63 6f |ta buf (|(byte-co|
|00000340| 64 65 20 22 08 ab 84 c1 | 08 21 88 c1 87 22 20 5b |de "....|.!..." [|
|00000350| 62 75 66 20 6b 69 6c 6c | 2d 62 75 66 66 65 72 5d |buf kill|-buffer]|
|00000360| 20 32 29 29 20 67 65 74 | 2d 62 75 66 66 65 72 2d | 2)) get|-buffer-|
|00000370| 63 72 65 61 74 65 20 22 | 20 2a 73 6f 75 6e 64 2d |create "| *sound-|
|00000380| 74 6d 70 2a 22 20 62 75 | 66 66 65 72 2d 64 69 73 |tmp*" bu|ffer-dis|
|00000390| 61 62 6c 65 2d 75 6e 64 | 6f 20 65 72 61 73 65 2d |able-und|o erase-|
|000003a0| 62 75 66 66 65 72 20 69 | 6e 73 65 72 74 2d 66 69 |buffer i|nsert-fi|
|000003b0| 6c 65 2d 63 6f 6e 74 65 | 6e 74 73 20 66 69 6c 65 |le-conte|nts file|
|000003c0| 6e 61 6d 65 20 62 75 66 | 66 65 72 2d 73 74 72 69 |name buf|fer-stri|
|000003d0| 6e 67 20 73 6f 75 6e 64 | 2d 61 6c 69 73 74 20 6f |ng sound|-alist o|
|000003e0| 6c 64 20 64 65 6c 71 20 | 63 6f 70 79 2d 73 65 71 |ld delq |copy-seq|
|000003f0| 75 65 6e 63 65 20 70 75 | 72 65 63 6f 70 79 20 30 |uence pu|recopy 0|
|00000400| 20 3a 76 6f 6c 75 6d 65 | 20 3a 73 6f 75 6e 64 5d | :volume| :sound]|
|00000410| 20 35 20 22 5c 0a 52 65 | 61 64 20 69 6e 20 61 6e | 5 "\.Re|ad in an|
|00000420| 20 61 75 64 69 6f 2d 66 | 69 6c 65 20 61 6e 64 20 | audio-f|ile and |
|00000430| 61 64 64 20 69 74 20 74 | 6f 20 74 68 65 20 73 6f |add it t|o the so|
|00000440| 75 6e 64 2d 61 6c 69 73 | 74 2e 0a 0a 59 6f 75 20 |und-alis|t...You |
|00000450| 63 61 6e 20 6f 6e 6c 79 | 20 70 6c 61 79 20 73 6f |can only| play so|
|00000460| 75 6e 64 20 66 69 6c 65 | 73 20 69 66 20 79 6f 75 |und file|s if you|
|00000470| 20 61 72 65 20 72 75 6e | 6e 69 6e 67 20 6f 6e 20 | are run|ning on |
|00000480| 64 69 73 70 6c 61 79 20 | 30 20 6f 66 20 74 68 65 |display |0 of the|
|00000490| 20 63 6f 6e 73 6f 6c 65 | 0a 6f 66 20 61 20 53 75 | console|.of a Su|
|000004a0| 6e 20 53 70 61 72 63 53 | 74 61 74 69 6f 6e 2c 20 |n SparcS|tation, |
|000004b0| 53 47 49 20 6d 61 63 68 | 69 6e 65 2c 20 6f 72 20 |SGI mach|ine, or |
|000004c0| 48 50 39 30 30 30 73 37 | 30 30 2c 20 6f 72 20 72 |HP9000s7|00, or r|
|000004d0| 75 6e 6e 69 6e 67 20 61 | 20 4e 65 74 41 75 64 69 |unning a| NetAudi|
|000004e0| 6f 0a 73 65 72 76 65 72 | 2e 20 20 54 68 65 20 73 |o.server|. The s|
|000004f0| 6f 75 6e 64 20 66 69 6c | 65 20 6d 75 73 74 20 62 |ound fil|e must b|
|00000500| 65 20 69 6e 20 74 68 65 | 20 53 75 6e 2f 4e 65 58 |e in the| Sun/NeX|
|00000510| 54 20 55 2d 4c 41 57 20 | 66 6f 72 6d 61 74 2e 22 |T U-LAW |format."|
|00000520| 20 22 66 53 6f 75 6e 64 | 20 66 69 6c 65 20 6e 61 | "fSound| file na|
|00000530| 6d 65 3a 20 5c 6e 53 53 | 79 6d 62 6f 6c 20 74 6f |me: \nSS|ymbol to|
|00000540| 20 6e 61 6d 65 20 74 68 | 69 73 20 73 6f 75 6e 64 | name th|is sound|
|00000550| 3a 20 5c 6e 6e 56 6f 6c | 75 6d 65 20 28 30 20 66 |: \nnVol|ume (0 f|
|00000560| 6f 72 20 64 65 66 61 75 | 6c 74 29 3a 20 22 5d 29 |or defau|lt): "])|
|00000570| 0a 28 66 73 65 74 20 27 | 6c 6f 61 64 2d 64 65 66 |.(fset '|load-def|
|00000580| 61 75 6c 74 2d 73 6f 75 | 6e 64 73 20 23 5b 6e 69 |ault-sou|nds #[ni|
|00000590| 6c 20 22 c0 c1 21 88 c2 | 13 0c 1d c6 c7 c8 5c 22 |l "..!..|......\"|
|000005a0| 88 c6 c9 ca 5c 22 88 c6 | cb cc cd 23 88 c6 ce cf |....\"..|...#....|
|000005b0| d0 23 88 c6 d1 d2 5c 22 | 88 c6 d3 d4 5c 22 88 c6 |.#....\"|....\"..|
|000005c0| d5 d6 d7 23 88 29 d8 d9 | 0b 5c 22 13 c0 da 21 87 |...#.)..|.\"...!.|
|000005d0| 22 20 5b 6d 65 73 73 61 | 67 65 20 22 4c 6f 61 64 |" [messa|ge "Load|
|000005e0| 69 6e 67 20 73 6f 75 6e | 64 73 2e 2e 2e 22 20 6e |ing soun|ds..." n|
|000005f0| 69 6c 20 73 6f 75 6e 64 | 2d 61 6c 69 73 74 20 64 |il sound|-alist d|
|00000600| 61 74 61 2d 64 69 72 65 | 63 74 6f 72 79 20 64 65 |ata-dire|ctory de|
|00000610| 66 61 75 6c 74 2d 64 69 | 72 65 63 74 6f 72 79 20 |fault-di|rectory |
|00000620| 6c 6f 61 64 2d 73 6f 75 | 6e 64 2d 66 69 6c 65 20 |load-sou|nd-file |
|00000630| 22 73 6f 75 6e 64 73 2f | 64 72 75 6d 2d 62 65 65 |"sounds/|drum-bee|
|00000640| 70 2e 61 75 22 20 64 72 | 75 6d 20 22 73 6f 75 6e |p.au" dr|um "soun|
|00000650| 64 73 2f 71 75 69 65 74 | 2d 62 65 65 70 2e 61 75 |ds/quiet|-beep.au|
|00000660| 22 20 71 75 69 65 74 20 | 22 73 6f 75 6e 64 73 2f |" quiet |"sounds/|
|00000670| 62 61 73 73 2d 73 6e 61 | 70 2e 61 75 22 20 62 61 |bass-sna|p.au" ba|
|00000680| 73 73 20 38 30 20 22 73 | 6f 75 6e 64 73 2f 77 68 |ss 80 "s|ounds/wh|
|00000690| 69 70 2e 61 75 22 20 77 | 68 69 70 20 37 30 20 22 |ip.au" w|hip 70 "|
|000006a0| 73 6f 75 6e 64 73 2f 63 | 75 63 6b 6f 6f 2e 61 75 |sounds/c|uckoo.au|
|000006b0| 22 20 63 75 63 6b 6f 6f | 20 22 73 6f 75 6e 64 73 |" cuckoo| "sounds|
|000006c0| 2f 79 65 65 70 2e 61 75 | 22 20 79 65 65 70 20 22 |/yeep.au|" yeep "|
|000006d0| 73 6f 75 6e 64 73 2f 68 | 79 70 65 2e 61 75 22 20 |sounds/h|ype.au" |
|000006e0| 68 79 70 65 20 31 30 30 | 20 61 70 70 65 6e 64 20 |hype 100| append |
|000006f0| 28 28 64 65 66 61 75 6c | 74 20 3a 73 6f 75 6e 64 |((defaul|t :sound|
|00000700| 20 62 61 73 73 29 20 28 | 75 6e 64 65 66 69 6e 65 | bass) (|undefine|
|00000710| 64 2d 6b 65 79 20 3a 73 | 6f 75 6e 64 20 64 72 75 |d-key :s|ound dru|
|00000720| 6d 29 20 28 75 6e 64 65 | 66 69 6e 65 64 2d 63 6c |m) (unde|fined-cl|
|00000730| 69 63 6b 20 3a 73 6f 75 | 6e 64 20 64 72 75 6d 29 |ick :sou|nd drum)|
|00000740| 20 28 62 75 66 66 65 72 | 2d 62 6f 75 6e 64 20 3a | (buffer|-bound :|
|00000750| 73 6f 75 6e 64 20 64 72 | 75 6d 29 20 28 72 65 61 |sound dr|um) (rea|
|00000760| 64 2d 6f 6e 6c 79 20 3a | 73 6f 75 6e 64 20 64 72 |d-only :|sound dr|
|00000770| 75 6d 29 20 28 63 6f 6d | 6d 61 6e 64 2d 65 72 72 |um) (com|mand-err|
|00000780| 6f 72 20 3a 73 6f 75 6e | 64 20 62 61 73 73 29 20 |or :soun|d bass) |
|00000790| 28 79 2d 6f 72 2d 6e 2d | 70 20 3a 73 6f 75 6e 64 |(y-or-n-|p :sound|
|000007a0| 20 71 75 69 65 74 29 20 | 28 79 65 73 2d 6f 72 2d | quiet) |(yes-or-|
|000007b0| 6e 6f 2d 70 20 3a 73 6f | 75 6e 64 20 71 75 69 65 |no-p :so|und quie|
|000007c0| 74 29 20 28 61 75 74 6f | 2d 73 61 76 65 2d 65 72 |t) (auto|-save-er|
|000007d0| 72 6f 72 20 3a 73 6f 75 | 6e 64 20 77 68 69 70 20 |ror :sou|nd whip |
|000007e0| 3a 76 6f 6c 75 6d 65 20 | 31 30 30 29 20 28 6e 6f |:volume |100) (no|
|000007f0| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 3a 73 6f 75 |-complet|ion :sou|
|00000800| 6e 64 20 77 68 69 70 29 | 20 28 69 73 65 61 72 63 |nd whip)| (isearc|
|00000810| 68 2d 66 61 69 6c 65 64 | 20 3a 73 6f 75 6e 64 20 |h-failed| :sound |
|00000820| 71 75 69 65 74 29 20 28 | 69 73 65 61 72 63 68 2d |quiet) (|isearch-|
|00000830| 71 75 69 74 20 3a 73 6f | 75 6e 64 20 62 61 73 73 |quit :so|und bass|
|00000840| 29 20 28 71 75 69 74 20 | 3a 73 6f 75 6e 64 20 71 |) (quit |:sound q|
|00000850| 75 69 65 74 20 3a 76 6f | 6c 75 6d 65 20 37 35 29 |uiet :vo|lume 75)|
|00000860| 20 28 72 65 61 64 79 20 | 3a 73 6f 75 6e 64 20 63 | (ready |:sound c|
|00000870| 75 63 6b 6f 6f 29 20 28 | 77 61 72 70 20 3a 73 6f |uckoo) (|warp :so|
|00000880| 75 6e 64 20 79 65 65 70 | 20 3a 76 6f 6c 75 6d 65 |und yeep| :volume|
|00000890| 20 37 35 29 20 28 61 6c | 61 72 6d 20 3a 73 6f 75 | 75) (al|arm :sou|
|000008a0| 6e 64 20 63 75 63 6b 6f | 6f 20 3a 76 6f 6c 75 6d |nd cucko|o :volum|
|000008b0| 65 20 31 30 30 29 29 20 | 22 4c 6f 61 64 69 6e 67 |e 100)) |"Loading|
|000008c0| 20 73 6f 75 6e 64 73 2e | 2e 2e 64 6f 6e 65 22 5d | sounds.|..done"]|
|000008d0| 20 34 20 22 5c 0a 4c 6f | 61 64 20 61 6e 64 20 69 | 4 "\.Lo|ad and i|
|000008e0| 6e 73 74 61 6c 6c 20 73 | 6f 6d 65 20 73 6f 75 6e |nstall s|ome soun|
|000008f0| 64 20 66 69 6c 65 73 20 | 61 73 20 62 65 65 70 2d |d files |as beep-|
|00000900| 74 79 70 65 73 2e 0a 54 | 68 69 73 20 6f 6e 6c 79 |types..T|his only|
|00000910| 20 77 6f 72 6b 73 20 69 | 66 20 79 6f 75 27 72 65 | works i|f you're|
|00000920| 20 6f 6e 20 64 69 73 70 | 6c 61 79 20 30 20 6f 66 | on disp|lay 0 of|
|00000930| 20 61 20 53 75 6e 20 53 | 70 61 72 63 53 74 61 74 | a Sun S|parcStat|
|00000940| 69 6f 6e 2c 20 53 47 49 | 20 6d 61 63 68 69 6e 65 |ion, SGI| machine|
|00000950| 2c 0a 6f 72 20 48 50 39 | 30 30 30 73 37 30 30 2c |,.or HP9|000s700,|
|00000960| 20 6f 72 20 72 75 6e 6e | 69 6e 67 20 61 20 4e 65 | or runn|ing a Ne|
|00000970| 74 41 75 64 69 6f 20 73 | 65 72 76 65 72 2e 22 20 |tAudio s|erver." |
|00000980| 6e 69 6c 5d 29 0a | |nil]). | |
+--------+-------------------------+-------------------------+--------+--------+